<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>test</title>
</head>
<body>
    <div>
        <button 
        style="background-color: brown; font-size: 20px;font-style: initial;color: #fff;font-weight: ;"
        onclick="alert('test')">
            按钮测试
        </button>

        <!-- ui结构、样式、逻辑拆开写 -->
    </div>
</body>
</html>